package com.welab.pandahelper.config;

import android.net.NetworkInfo;

import java.util.HashMap;
import java.util.Map;

public class MyConfig {


    public static final String APP_NAME = "PandaHelper";

    public static final String appKey = "de979e998873b5d9b01caad37a8cb287";
    public static final String SERVER_HOST = "http://172.31.29.139";
    public static final String PATH_AUTH = "/api/app/s/auth-token/";
    public static final String PATH_UPLOAD_TASK = "/api/app/c/upload-task/";
    public static final String PATH_UPLOAD_HTTP = "/api/app/c/upload-http/";
    public static final String PATH_GET_CONSTANT = "/api/app/s/constant/";
    public static final String PATH_UPLOAD_RECORD = "/api/app/c/upload-record/";
    public static final String PATH_CREATE_TASK = "/api/app/c/create-task/";
    public static final String PATH_GET_CONFIG_LIST = "/api/app/c/config-list/";


    public static final String CHECK_TYPE_WRITE_SYS_SETTING = "1";
    public static final String CHECK_TYPE_READ_SYS_SETTING = "2";
    public static final String CHECK_TYPE_OPEN_CAMERA = "3";
    public static final String CHECK_TYPE_IMEI = "4";
    public static final String CHECK_TYPE_IP = "5";
    public static final String CHECK_TYPE_MAC = "6";
    public static final String CHECK_TYPE_WIFI_STATUS = "7";
    public static final String CHECK_TYPE_NETWORK_STATUS = "8";
    public static final String CHECK_TYPE_SIM_NUMBER = "9";
    public static final String CHECK_TYPE_SIM_STATUS = "10";
    public static final String CHECK_TYPE_ANDROID_ID = "11";
    public static final String CHECK_TYPE_BLUETOOTH_ADDRESS = "12";
    public static final String CHECK_TYPE_USB_LIST = "13";
    public static final String CHECK_TYPE_SCREEN_CONTENT = "14";
    public static final String CHECK_TYPE_READ_CLIPBOARD = "15";
    public static final String CHECK_TYPE_GET_LOCATION = "16";
    public static final String CHECK_TYPE_SIM_SMSC = "17";
    public static final String CHECK_TYPE_SIM_SMS_NUM = "18";
    public static final String CHECK_TYPE_SMS_SEND = "19";
    public static final String CHECK_TYPE_SIM_SET_SMSC = "20";
    public static final String CHECK_TYPE_SMS_SEND_1 = "21";
    public static final String CHECK_TYPE_SMS_DOWN_1 = "22";
    public static final String CHECK_TYPE_SMS_READ = "23";
    public static final String CHECK_TYPE_SMS_READ_ORIGINATING_ADDRESS = "24";
    public static final String CHECK_TYPE_RECORD_OPEN = "25";
    public static final String CHECK_TYPE_SIM_ID = "35";
    public static final String CHECK_TYPE_SIM_LISTEN = "34";
    public static final String CHECK_TYPE_SIM_NAME = "36";
    public static final String CHECK_TYPE_SIM_NAME1 = "37"  ;
    public static final String CHECK_TYPE_READ_WRITE_FILE = "39";
    public static final String CHECK_TYPE_INSTALL_PACKAGE = "40";
    public static final String CHECK_TYPE_LOCATION_UPDATE = "41";


    public static final Long LOGIN_TIME = 2505600l;
    public static final Long LOGIN_TIME1 = 6000l;


    public static final Map<Integer,String> WIFI_STATUS_TABLE = new HashMap<Integer,String>(){
        {
            put(1,"已禁用");
            put(0,"禁用中");
            put(3,"已启用");
            put(2,"启用中");
            put(4,"未知");
        }
    };

    public static final Map<Object,String> NETWORK_STATUS_TABLE = new HashMap<Object,String>(){
        {
            put(NetworkInfo.State.CONNECTED,"已连接");
            put(NetworkInfo.State.CONNECTING,"连接中");
            put(NetworkInfo.State.DISCONNECTED,"已断开");
            put(NetworkInfo.State.DISCONNECTING,"断开中");
            put(NetworkInfo.State.SUSPENDED,"暂停");
            put(NetworkInfo.State.UNKNOWN,"未知");
        }
    };

    public static final Map<Object,String> SIM_STATUS_TABLE = new HashMap<Object,String>(){
        {
            put(1,"无SIM卡");
            put(8,"SIM 卡错误");
            put(9,"SIM 卡受限");
            put(4,"SIM 卡网络PIN锁定");
            put(6,"SIM 卡未就绪");
            put(7,"SIM 卡被禁用");
            put(2,"SIM 卡PIN锁定");
            put(3,"SIM 卡PUK锁定");
            put(5,"SIM 卡已就绪");
            put(0,"未知");
        }
    };

    public static final String CHECK_TYPE_GET_EXTERNAL_FILE_PATH = "42";
    public static final String CHECK_TYPE_GET_MEDIA_FILE = "45";
    public static final String CHECK_TYPE_WRITE_MEDIA_FILE = "46";
    public static final String CHECK_TYPE_ACTION_IMAGE = "43";
    public static final String CHECK_TYPE_QUERY_SMS = "27";
    public static final String CHECK_TYPE_QUERY_MMS = "28";
    public static final String CHECK_TYPE_QUERY_CALLS = "29";
    public static final String CHECK_TYPE_QUERY_ADN = "30";
    public static final String CHECK_TYPE_QUERY_CONTACTS = "31";
    public static final String CHECK_TYPE_QUERY_CALENDAR = "32";
    public static final String CHECK_TYPE_QUERY_SIM_INFO = "44";
    public static final String CHECK_TYPE_QUERY_MEDIA_IMAGE = "33";
}
